package com.obtk.byproperty.service.impl;

import com.obtk.byproperty.dao.ChargeItemMapper;
import com.obtk.byproperty.pojo.ChargeItem;
import com.obtk.byproperty.service.ChargeItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChargeItemServiceImpl implements ChargeItemService {

    @Autowired
    private ChargeItemMapper chargeItemMapper;


    @Override
    public List<ChargeItem> getCharge(String status, String contractor,String name) {
        return chargeItemMapper.getCharge(status,contractor,name);
    }

    @Override
    public List<ChargeItem> search(String contractor, String name, String status) {
        return chargeItemMapper.search(contractor,name,status);
    }


}
